﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<WebPrestamoBiblioteca.SOAPPrestamos.Prestamo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Consultar Solicitud Pendiente
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Evaluacion</h2>
    <h3 style="color:Red"><%= TempData["mensaje"] %></h3>
    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>
        
        <fieldset>
            <legend>Datos de Solicitud</legend>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.IdPrestamo) %>
            </div>
            <div class="editor-field">
                <%: Html.DisplayTextFor(model => model.IdPrestamo)%>
                <%: Html.ValidationMessageFor(model => model.IdPrestamo) %>
            </div>
            <%: Html.HiddenFor(model=> model.IdPrestamo) %>
            <div class="editor-label">
                <%: Html.LabelFor(model => model.FeSolicitud) %>
            </div>
            <div class="editor-field">
                <%: Html.DisplayTextFor(model => model.FeSolicitud) %>
                <%: Html.ValidationMessageFor(model => model.FeSolicitud) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.NuDias) %>
            </div>
            <div class="editor-field">
                <%: Html.DisplayTextFor(model => model.NuDias) %>
                <%: Html.ValidationMessageFor(model => model.NuDias) %>
            </div>
            
         
            <div class="editor-label">
                <%: Html.LabelFor(model => model.TxObservacion) %>
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.TxObservacion) %>
                <%: Html.ValidationMessageFor(model => model.TxObservacion) %>
            </div>

            <div class="editor-label">
                <%: Html.LabelFor(model => model.DeSituacion) %>
            </div>
            <div class="editor-field">
                <%: Html.DropDownListFor(model => model.DeSituacion, new SelectList(
                    new List<Object> { 
                        "Seleccione",
                        "Aprobada",
                        "Denegada"
                    }, "text"))%>
                <%: Html.ValidationMessageFor(model => model.TxObservacion) %>
            </div>
            
            <p>
                <input type="submit" value="Grabar" />
            </p>
        </fieldset>

    <% } %>


</asp:Content>

